package com.united.ucts.modules.system.pojo.po;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.united.frame.common.module.pojo.po.BaseEntity;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 系统角色信息数据库对象
 *
 * @author hudan
 * @version 1.0
 * @filename Role.java
 * @copyright <a href="www.chancein.com">www.chancein.com</a>
 * @date 2021-03-01
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@TableName(value = "ums_role")
public class Role extends BaseEntity {
    /** 名称 */
    private String name;
    /** 描述 */
    private String description;
    /** 后台用户数量 */
    private Integer adminCount;
    /** 排序号 */
    private Integer sort;
    /** 生效标识(0:未生效;1:已生效) */
    @TableField(value = "status", fill = FieldFill.INSERT)
    protected Integer status;
}